﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace ConsoleApp
{
    public class ConditionalAttribute测试
    {
        public string str = "0";

        [Conditional("Mock")]
        public void Mock()
        {
            str = "Mock";
        }

        public void Common()
        {
            str = "Common";
        }
    }
}
